package com.heima.apis.wemedia;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;


/**
 * @author Psycho
 * @create 2022-05-02-11:44
 */
@FeignClient(value = "leadnews-wemedia")
public interface ChannelClient {

    @PostMapping("/api/v1/channel/listChannels")
    public Page listSensitive(@RequestBody SensitiveDto dto);


    @GetMapping("/api/v1/channel/del/{id}")
    public ResponseResult deleteOneSensitive(@PathVariable("id") Integer id);

}
